type int = number;
//class LifestyleUpgradeInfo
    
    export  class LifestyleUpgradeInfo
    {
        constructor()
        {
            
            this._levelDict = new Map<any, any> /* flash.utils.Dictionary */();
            return;
        }

        public set jsStr(arg1: string)
        {
            var loc2=null;
            this._jsStr = arg1;
            var loc1=this._jsStr.split("#");
            var loc3=0;
            while (loc3 < loc1.length) 
            {
                loc2 = (loc1[loc3] as string).split(",");
                this._levelDict[int(loc2[0])] = int(loc2[1]);
                ++loc3;
            }
            return;
        }

        public getExpByLevel(arg1: int): int
        {
            return this._levelDict[arg1] as int;
        }

        public /* var */color: int;

        /* internal */ /* var */_jsStr: string;

        /* internal */ /* var */_levelDict: Map<any, any> /* flash.utils.Dictionary */;
    }
